package day17.springdemo1;

/**
 * @author Xiao
 * @date 2021/8/12
 */
public interface ApplicationContext {
    //通过传入类名创建对象
    Object getBean(String name);

    //通过传入类名和类的字节码对象创建对象
//    <T> Object getBean(String name, Class<T> type);
    <T> T getBean(String name, Class<T> type);
}
